package com.hx.petsever.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.petsever.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;


public interface AddressService extends IService<Address> {

    HashMap DeleteOne(@Param("name") String name , @Param("phone") String phone ,
                      @Param("address") String address , @Param("userid") String userid);

    HashMap getAllbyId(@Param("userid") String userid);

    HashMap InsertAddress (@Param("name") String name , @Param("phone") String phone ,
                           @Param("address") String address ,@Param("userid") String userid,
                            @Param("defaults") String defaults);
}
